package com.androidcourse.mapper;


import com.androidcourse.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {


    @Select("SELECT * FROM user")
    List<User> getUserList();

    List<User>  getUserListXml();

    User loginUser(User loginUser);

    //用户注册
    int userRegister(User registerUser);
}
